﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using BTGISWASECO.DataLayer;
using BTGISWASECO.BusinessEntities;


/// <summary>
/// Summary description for BeChuaBLL
/// </summary>
/// 
namespace BTGISWASECO.BusinessLayer
{
    public class BeChuaBLL
    {
        BeChuaDAL dal = new BeChuaDAL();
        public static List<BeChuaEntities> GetList()
        {
            return BeChuaDAL.GetList();
        }

        public static List<BeChuaEntities> GetListByName(string keyword)
        {
            return BeChuaDAL.GetListByName(keyword);
        }

        //public bool InsertBeChuaEntities bk)
        //{
        //    return dal.Insert(bk);
        //}

        //public bool UpdateBeChuaEntities bk)
        //{
        //    return dal.Update(bk);
        //}

        //public bool DeleteBeChuaEntities bk)
        //{
        //    return dal.Delete(bk);
        //}

        public BeChuaEntities GetBeChuaEntitiesByID()
        {
            return dal.GetBeChuaEntitiesByID();
        }
        public BeChuaBLL()
        {
            //
            // TODO: Add constructor logic here
            //
        }
    }
}